package com.polytest;

public class Worker{
    //挑选苹果方法

    public void pickApple(CompareAble c, Apple a1,Apple a2){
        Apple result = c.compareTo(a1, a2);
        System.out.println("选中的苹果：" + result);
    }
}
